package ma.platform.server.admin;

import ma.platform.server.common.security.annotation.EnablePigResourceServer;
import ma.platform.server.common.swagger.annotation.EnablePigDoc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

/**
 * Copyright:
 * Author:
 * Description:
 * Created by 李林山 on 2024/8/18
 */
@EnablePigDoc(value = "admin", isMicro = false)
@EnablePigResourceServer
@SpringBootApplication
@MapperScan(basePackages = {"ma.platform.server.*.mapper"})
@ComponentScan(basePackages = {"ma.platform.server"})
public class AdminAppliacation {
    public static void main(String[] args) {
        SpringApplication.run(AdminAppliacation.class, args);
    }
}
